*{
    margin: 0;
    padding: 0;
}

body{
    padding-top: 70px;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

.top{
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}
.top img{
    height: 50px;
    margin-right: 20px;
}
.Topnavbar{
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.Topnavbar li{
    margin: 0 20px;
}
.Topnavbar a{
    font-size: 20px;
    text-decoration: none;
    color: #333;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.5s ease;
}
.Topnavbar a:hover{
    background-color: #e0e0e0;
}


.main{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 70px;
}
.title{
    font-size: 48px;
    color: #333;
    margin-bottom: 20px;
}
.search{
    display: flex;
    align-items: center;
    border: 2px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    width: 700px;
    height: 50px;
}

/*设置搜索输入框的样式，包括去除边框、内边距和轮廓*/
.search input[type="text"]{   
    border: none;
    padding: 10px;
    flex: 1;                  
    outline: none;            
}
.search button{
    background: none;
    border: none;
    cursor: pointer;           
    padding: 10px;
    display: flex;
    align-items:center;
    justify-content: center;
}
.search button img{
    height: 16px;
    width: 16px;

}


.bottom{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 50px 100px;    
}
.item{
    width: 150px; 
    margin: 20px;
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.item a{

    text-decoration: none;
    color: #333;
}
.item a:hover{
    color: plum;
}
.item img{
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 10px;
}
.name{
    text-align: center;
}
.name h3{
    font-size: 14px;
    margin: 0;
}
.name p{
    font-size: 12px;
    margin: 5px 0 0 0;
}

.line{
    font-size: 48px;
    color: #333;
    font-family: 黑体;
    font-weight: bold;
    margin-bottom: 20px;
    margin-left: 100px;
}

.pic {
    margin-top: 40px;
    margin-bottom: 50px;
    padding: 0 100px;
    display: flex;
}

.swiper {
    width: 100%;
    height: 100%;
    --swiper-navigation-color: #222;
    --swiper-navigation-size: 25px;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
 }

.swiper-slide a{
    text-decoration: none;
    color: #333;
    font-size: 16px;

}

.swiper-slide img {
    display: block;
    width: 200px;
    height: auto;
    object-fit: cover;
}

.swiper-button-prev:hover,.swiper-button-next:hover{
    color: #3366FF;
}


.under{
    margin: 0;
    background-color: #000;
    color: #fff;
}
.Bottonnavbar {
    padding: 20px 150px;
    border-bottom: 1px solid #444;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.section {
    padding: 0 20px;
    gap: 10px;
    display: flex;
    flex-direction: column;
}
.section a {
    text-decoration: none;
    margin: 0 10px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.section a:hover {
    background-color: #444;
}
.first-row{ 
    font-weight: bold;
    color: #fff;
    font-size: 18px;
}
.rows{
    color: #aaa;
    font-size: 0.9em;
}

.footer {
    display: flex;
    justify-content: center;
    padding: 10px;
    background-color: #111;
    color: #aaa;
    font-size: 0.8em;
}
.footer a {
    color: #aaa;
    text-decoration: none;
    margin: 0 20px;
 }
.logo {
    display: flex;
    align-items: left;
}
.logo img {
    height: 100px;
    margin-right: 10px;
 }
.end{
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
.copyright{
    margin: 0;
    color: #bbb;
    font-size: 0.7em;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}



@media screen and  (max-width: 768px) {
    .top{
        padding: 5px;
    }

    .top img{
        height: 40px;
        margin-right: 10px;
    }

    .Topnavbar{
        width: 100%;
    }

    .Topnavbar li{
        margin: 0 5px;
    }

    .Topnavbar a{
        font-size: 10px;
        border-radius: 2px;
        padding: 0 5px;
    }
    
    

    .main {
        padding: 0 20px;
    }

    .title {
        font-size: 24px;
    }

    .search {
        width: 100%;
        height: 40px;
    }

    .search input[type="text"] {
        font-size: 16px;
    }

    .search button img {
        height: 14px;
        width: 14px;
    }



    .bottom {
        padding: 20px;
        justify-content: center;
    }

    .item {
        width: 50%;
        margin: 10px 0;
    }

    .item img {
        width: 100px;
        height: 100px;
    }


    .line {
        font-size: 24px;
        margin-left: 20px;
    }


    .pic {
        padding: 0 20px;
    }

    .swiper {
        --swiper-navigation-size: 15px;
    }

    .swiper-slide img {
        width: 80px;
        height: auto;
    }

    .swiper-slide a{
        font-size: 8px;
    }



    .Bottonnavbar {
        padding: 10px;
        justify-content: center;
        gap: 10px;
    }

    .section {
        padding: 5px;
        gap: 5px;
        width: 100%;
    }

    .section a{
        margin: 0;
        padding: 0;
        border-radius: 1px;
    }

    .first-row{
        font-weight: 500;
        font-size: 10px;
    }

    .rows{
        font-size: 8px;
    }

    .footer {
        flex-direction: row;
        font-size: 9px;
    }

    .footer a{
        color: #fff;
        font-weight: 500;
        margin: 0 10px;
    }

    .logo img {
        height: 50px;
    }

    .copyright {
        color: #fff;
        font-size: 8px;
        margin-bottom: 10px;
    }


}


